package models;

import java.util.ArrayList;
import java.util.List;


import play.modules.mongo.MongoEntity;
import play.modules.mongo.MongoModel;
@MongoEntity("wallThread")
public class WallThread extends MongoModel {
	public String getPost(){
		return get("post");
	}
	public void setPost(String post){
		set("post",post);
	}
	public String getFromName(){
		return get("fromname");
	}
	public void setFromName(String fromname){
		set("fromname",fromname);
	}
	public String getFromId(){
		return get("fromId");
	}
	public void setFromId(String fromId){
		set("fromId",fromId);
	}
	public String getToId(){
		return get("ToId");
	}
	public void setToId(String ToId){
		set("ToId",ToId);
	}
	public String getToName(){
		return get("Toname");
	}
	public void setToName(String Toname){
		set("Toname",Toname);
	}
	/*public List<String> getToMembers(){
		if(!has("tomembers")){
			setToMembers(new ArrayList<String>());
		}
		return get("tomembers");
	}
	public void setToMembers(List<String> tomembers){
		set("tomembers",tomembers);
	}*/
	
}
